package inc.jmc.cyberboard.ui.ventas;
import java.io.File;

import javax.swing.filechooser.FileFilter;

/**
 * @author JOlguin01
 *
 */
public class LicFileFilter extends FileFilter{
    /* (non-Javadoc)
     * @see javax.swing.filechooser.FileFilter#accept(java.io.File)
     */
    public final boolean accept(File f)
    {
    boolean ret=false;
    if(f.getName().toUpperCase().endsWith(".GEM")||
       f.isDirectory()
      )
      ret=true;
    return ret;
    }

    /* (non-Javadoc)
     * @see javax.swing.filechooser.FileFilter#getDescription()
     */
    public final String getDescription()
    {
    	return "Archivos Gema *.gem";
    }

}
